<template>
  <div>
   <AttrChild v-bind="{a,b}"></AttrChild>
   <hr>
  </div>
</template>

<script setup lang="ts">
import { ref } from 'vue';
import AttrChild from '@/components/AttrChild.vue';
let a=ref(1001)
let b=ref("xdt")
</script>
<style lang="scss" scoped>
</style>
